package com.shycloud.mido.homework.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.homework.api.entity.WeekHomeworkTypeDetail;
import com.shycloud.mido.homework.api.vo.WeekHomeworkTypeDetailVO;
import com.shycloud.mido.homework.api.vo.WeekPayloadVO;

/**
 * <p>
 * 周报类型详细表 Mapper 接口
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-15
 */
public interface WeekHomeworkTypeDetailMapper extends BaseMapper<WeekHomeworkTypeDetail> {

	List<WeekHomeworkTypeDetailVO> getWeekHomeworkTypeDetailData(@Param("param") String studentId,
			@Param("week") WeekPayloadVO weekPayloadVO, @Param("playingMode") String playingMode);

	WeekHomeworkTypeDetailVO getWeekPractiveTypeDetailData(
			@Param("homeworkId") Long homeworkId,
			@Param("studentId") String studentId,
			@Param("teacherId") String teacherId);

	IPage<WeekHomeworkTypeDetailVO> getWeekHomeworkDetailPage(
			@Param("page") Page page,
			@Param("type") String type,
			@Param("memberId") String memberId,
			@Param("weekId") String weekId);

}
